package com.suny.Fence.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description = "修改围栏状态DTO")
public class FenceUpdateStatusDTO {
    @NotNull(message = "围栏ID不能为空")
    @Schema(description = "围栏ID")
    private Integer fenceId;
    @NotNull(message = "状态不能为空")
    @Schema(description = "状态(1=启用,0=停用)")
    private Integer status;

}
